package com.example.demo.service;

import com.example.demo.entity.StudentInfo;
import com.example.demo.vo.StudentInfoClassInfo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface StudentInfoService {
    List<StudentInfo> getAllStudentInfo(String name);

    PageInfo<StudentInfoClassInfo> getPageStudentInfoClassInfo(int pageNum, int pageSize);

    Integer delStuById(Integer id);

    Integer deleteByID(Integer stuid);

    Integer updateStudentInfo(StudentInfo studentInfo);

    List<StudentInfoClassInfo> getAllStuAndClassByName(String stuName);

    List<StudentInfoClassInfo>getAllStuAndClassByclsAndName(String stuName,Integer clsid);

    Integer insertStudentInfo(StudentInfo studentInfo);


}
